//
//  SelectBrandView.h
//  AutoHome
//
//  Created by wqh on 15-5-12.
//  Copyright (c) 2015年 Wqh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CarOperationModel.h"

typedef void (^kSelectBrandBlockType) (void);
typedef void (^kValueBlockType) (CarOperationModel *model,NSInteger index);
typedef void (^kBrandBlockType) (NSString *brandName);

@interface SelectBrandView : UIView<UITableViewDelegate,UITableViewDataSource>

//根据接收到得不同的数据源 展示不同的数据
//@property (nonatomic) kBlockType myBlock;

- (IBAction)closeBtnClick:(UIButton *)sender;
@property (strong, nonatomic) IBOutlet UITableView *tableView;
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;

@property (nonatomic,copy) kSelectBrandBlockType myBlock;
@property (nonatomic,copy) kValueBlockType valueBlock;
@property (nonatomic,copy) kBrandBlockType brandNameBlock;

@property (nonatomic) NSMutableArray *dataArr;
@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *carOperation;

@end
